﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class CdrPathMdeIpDispenseItem
    {
        public string Id { get; set; } = null!;
        public string? HospitalCode { get; set; }
        public string VisitNumber { get; set; } = null!;
        public string PatientId { get; set; } = null!;
        public string? PatientName { get; set; }
        public string PatientSexCode { get; set; } = null!;
        public string PatientSexName { get; set; } = null!;
        public decimal? Patientage { get; set; }
        public string DeptCode { get; set; } = null!;
        public string? DeptName { get; set; }
        public string WardCode { get; set; } = null!;
        public string? WardName { get; set; }
        public string ServiceUnitCode { get; set; } = null!;
        public string? ServiceUnitName { get; set; }
        public string? BedNo { get; set; }
        public string OrderNo { get; set; } = null!;
        public string? OrderTypeCode { get; set; }
        public string? OrderTypeName { get; set; }
        public string DoctorCode { get; set; } = null!;
        public string? DoctorName { get; set; }
        public string DoctorDeptCode { get; set; } = null!;
        public string? DoctorDeptName { get; set; }
        public DateTime? OrderDateTime { get; set; }
        public string PharmacyCode { get; set; } = null!;
        public string? PharmacyName { get; set; }
        public string DispenserCode { get; set; } = null!;
        public string? DispenserName { get; set; }
        public DateTime? DispenseDateTime { get; set; }
        public DateTime? DeliverDateTime { get; set; }
        public string DeliverCode { get; set; } = null!;
        public string? DeliverName { get; set; }
        public string? DrugCategoryCode { get; set; }
        public string? DrugCategoryName { get; set; }
        public string DrugCode { get; set; } = null!;
        public string? DrugName { get; set; }
        public string? DrugSpecification { get; set; }
        public string DosageFormCode { get; set; } = null!;
        public string? DosageFormName { get; set; }
        public decimal? Dosage { get; set; }
        public string? DosageUnit { get; set; }
        public decimal? PerQuantity { get; set; }
        public string? PerQuantityUnit { get; set; }
        public string FrequencyCode { get; set; } = null!;
        public string? Frequencyname { get; set; }
        public string RouteCode { get; set; } = null!;
        public string? Routename { get; set; }
        public decimal? Price { get; set; }
        public decimal? Quantity { get; set; }
        public decimal? Amount { get; set; }
        public string? DispenseUnit { get; set; }
        public string DataEnterCode { get; set; } = null!;
        public string? DataEnterName { get; set; }
        public DateTime? DataEnterDateTime { get; set; }
        public string? StatusCode { get; set; }
        public string? StatusName { get; set; }
        public short? IsDeleted { get; set; }
        public DateTime? FirstInsertDateTime { get; set; }
        public DateTime? LastUpdateDateTime { get; set; }
    }
}
